import React, { Component } from 'react'
import { Result, Button } from "antd";
export class errorPage extends Component {
    back(){
        window.history.back()
    }
    render() {
        return (
          <div>
            <Result
              status="404"
              title="404"
              subTitle="Sorry, the page you visited does not exist."
              extra={<Button type="primary" onClick={this.back} >Back Home</Button>}
            />
          </div>
        );
    }
}

export default errorPage
